﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Assignment9.Models
{
    //订单新建的时间
    public class Time
    {
        int Year;
        int Month;
        int Day;
        int Hour;
        int minute;
        public Time(int y,int m,int d,int h,int min)
        {
            Year = y;
            Month = m;
            Day = d;
            Hour = h;
            minute = min;
        }
        public override string ToString()
        {
            return $"{Year}/{Month}/{Day} {Hour}:{minute}";
        }
    }
}
